Rename accumulate_get_parent to accumulate_get_window
authorAlexander Larsson <alexl@redhat.com>
Wed, 24 Jun 2009 18:25:40 +0000 (20:25 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 24 Jun 2009 18:25:40 +0000 (20:25 +0200)
This function is used in several places, not just get_parent

gdk/gdkwindow.c

index e61138ce0c496414815f89be9530065456c63dad..bd15498f898ede0e4bab0f22904622771405351f 100644 (file)
@@ -393,10 +393,10 @@ gdk_window_init (GdkWindowObject *window)
 
 /* Stop and return on the first non-NULL parent */
 static gboolean
-accumulate_get_parent  (GSignalInvocationHint *ihint,
-                        GValue                *return_accu,
-                        const GValue          *handler_return,
-                        gpointer               data)
+accumulate_get_window (GSignalInvocationHint *ihint,
+                      GValue                  *return_accu,
+                      const GValue            *handler_return,
+                      gpointer               data)
 {
   g_value_copy (handler_return, return_accu);
   /* Continue while returning NULL */
@@ -453,7 +453,7 @@ gdk_window_class_init (GdkWindowObjectClass *klass)
                  G_OBJECT_CLASS_TYPE (object_class),
                  G_SIGNAL_RUN_LAST,
                  0,
-                 accumulate_get_parent, NULL,
+                 accumulate_get_window, NULL,
                  gdk_marshal_OBJECT__VOID,
                  GDK_TYPE_WINDOW,
                  0);
@@ -462,7 +462,7 @@ gdk_window_class_init (GdkWindowObjectClass *klass)
                  G_OBJECT_CLASS_TYPE (object_class),
                  G_SIGNAL_RUN_LAST,
                  0,
-                 accumulate_get_parent, NULL,
+                 accumulate_get_window, NULL,
                  gdk_marshal_OBJECT__DOUBLE_DOUBLE,
                  GDK_TYPE_WINDOW,
                  2,